 ################################################################################
 #    Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH    #
 #                                                                              #
 #              This software is distributed under the terms of the             # 
 #              GNU Lesser General Public Licence (LGPL) version 3,             #  
 #                  copied verbatim in the file "LICENSE"                       #
 ################################################################################
# Create a library called "libTutorial1" which includes the source files given in
# the array .
# The extension is already found.  Any number of sources could be listed here.

Set(INCLUDE_DIRECTORIES
  ${BASE_INCLUDE_DIRECTORIES}
  ${CMAKE_SOURCE_DIR}/eventdisplay
  ${CMAKE_SOURCE_DIR}/examples/simulation/Tutorial4/src
  ${CMAKE_SOURCE_DIR}/examples/simulation/Tutorial4/src/mc
  ${CMAKE_SOURCE_DIR}/examples/simulation/Tutorial4/src/param
  ${CMAKE_SOURCE_DIR}/examples/simulation/Tutorial4/src/data
  ${CMAKE_SOURCE_DIR}/examples/simulation/Tutorial4/src/reco
  ${CMAKE_SOURCE_DIR}/examples/simulation/Tutorial4/src/tools
  ${CMAKE_SOURCE_DIR}/examples/common/mcstack
  ${FairLogger_INCDIR}
)

Include_Directories(${INCLUDE_DIRECTORIES})
Include_Directories(SYSTEM ${SYSTEM_INCLUDE_DIRECTORIES})

Set(LINK_DIRECTORIES
  ${ROOT_LIBRARY_DIR}
) 

Link_Directories(${LINK_DIRECTORIES})

set(SRCS
#Put here your sourcefiles
mc/FairTutorialDet4.cxx
mc/FairTutorialDet4Geo.cxx

param/FairTutorialDet4ContFact.cxx
param/FairTutorialDet4GeoPar.cxx
param/FairTutorialDet4MisalignPar.cxx

data/FairTutorialDet4Point.cxx
data/FairTutorialDet4Hit.cxx

reco/FairTutorialDet4HitProducerIdealMisalign.cxx
reco/FairTutorialDet4StraightLineFitter.cxx
reco/FairTutorialDet4MilleWriter.cxx

tools/FairTutorialDet4GeoHandler.cxx

display/FairTutorialDet4PointDraw.cxx
)

set(NO_DICT_SRCS tools/Mille.cc)
Set(HEADERS )
Set(LINKDEF Tutorial4LinkDef.h)
Set(LIBRARY_NAME Tutorial4)
Set(DEPENDENCIES Base MCStack GeoBase ParBase VMC Physics Core Eve)

GENERATE_LIBRARY()

